import request from '@/utils/request'


//  查询所有的订单  这里的参数是订单对象
export function queryOrders(parm) {
  return request({
      url: 'system/orders/queryOrders',
      method: 'post',
      params: parm
    }
  )
}

//  按时间查询所有的订单
export function queryOrderByTime(parm) {
  return request({
    url: '/system/orders/queryOrderByTime',
    method: 'post',
    params: parm
  })
}
